light_map_pic(int sx,int sy,int bp=3)
Parameter | Type | Description |
---|---|---|
sx | int | size in x (power of 2) |
sy | int | size in y (power of 2) |
bp | int | the light map bytes per pixel: 3 - RGB 4 - RGBA |
Creates the light_map_pic and allocates the bitmap pixels.